//
//  UIColor+Extension.swift
//  MicroBlog
//
//  Created by  NorthCity on 15/11/18.
//  Copyright © 2015年  NorthCity. All rights reserved.
//

import UIKit
extension UIColor{
  class  func randomColor()->UIColor{
        let r:CGFloat = CGFloat(random() % 256) / 255
        let g:CGFloat = CGFloat(random() % 256) / 255
        let b:CGFloat = CGFloat(random() % 256) / 255
        
        return UIColor(red: r, green: g, blue: b, alpha: 1.0)
    }
    
    
}